net.dnsConfig.servers (field)
10 uses
net (current package)
dnsclient_unix.go#L261: sLen := uint32(len(cfg.servers))
dnsclient_unix.go#L275: server := cfg.servers[(serverOffset+j)%sLen]
dnsconfig.go#L19: servers []string // server addresses (in host:port form) to use
dnsconfig_unix.go#L26: conf.servers = defaultNS
dnsconfig_unix.go#L35: conf.servers = defaultNS
dnsconfig_unix.go#L51: if len(f) > 1 && len(conf.servers) < 3 { // small, but the standard limit
dnsconfig_unix.go#L56: conf.servers = append(conf.servers, JoinHostPort(f[1], "53"))
dnsconfig_unix.go#L137: if len(conf.servers) == 0 {
dnsconfig_unix.go#L138: conf.servers = defaultNS
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |